package com.zr.dao.sys;

import com.zr.vo.sys.SysRole;

import java.util.List;

public interface SysRoleDao {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    List<SysRole> list(SysRole sysRole);

    List<SysRole> selectByUserId(String userId);

    List<SysRole> listAll();
}